package com.lesso.yzh.sunflower.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.lesso.yzh.sunflower.pojo.dto.EmployeeDTO;
import com.lesso.yzh.sunflower.pojo.dto.EmployeeQueryDTO;
import com.lesso.yzh.sunflower.pojo.dto.EmployeeUpdateDTO;
import com.lesso.yzh.sunflower.pojo.vo.EmployeeVO;

/**
 * IEmployeeService
 *
 * @author yzh
 * @since 2025-07-02
 */
public interface IEmployeeService {
    Integer save(EmployeeDTO dto);

    Page<EmployeeVO> page(EmployeeQueryDTO dto);

    Page<EmployeeVO> customPage(EmployeeQueryDTO dto);

    void deleteById(Long id);

    Integer update(EmployeeUpdateDTO dto);
}
